/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ixtenebrae.space;

/**
 *
 * @author IX
 */
public class Map {
    private short maxX;
    private short maxY;
    byte map[][] = new byte[maxX][maxY];
    
    void map(){
        maxX = 1000;
        maxY = 1000;     
    }
    
    void map(short x, short y){
        maxX = x;
        maxY = y;
    }
    
    short getSizeX(){
        return maxX;
    }
    
    short getSizeY(){
        return maxY;
    }
    
    short[] getSize(){
        short size[] = {maxX, maxY};
        return size;
    }
    
    void setMap(short x, short y, byte content){
        map[x][y] = content;
    }
    
}
